﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain.ProductionOrders
{
    /// <summary>
    /// 工单基本信息
    /// </summary>
    public class Basicinformation
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int WorkOrderId { get; set; }
        /// <summary>
        /// 工单编码
        /// </summary>
        public string WorkOrderNo { get; set; }

        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkOrderName { get; set; }
        /// <summary>
        /// 关联生产单号
        /// </summary>
        public string EnterProductionOrderNo { get; set; }
        /// <summary>
        /// 销售订单
        /// </summary>
        public string SalesOrder { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public string AssociatedProject { get; set; }
        /// <summary>
        /// 工单日期
        /// </summary>
        public DateTime WorkOrderDate { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string PersoninCharge { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public string Department { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? Attachment { get; set; }
    }
}
